<?php
include("include/textcenter.php");
include("include/db.php");
include("include/fn.php");
 
$CustomerNo=$_POST["CustomerNo"];

$status=$_POST["status"];
$FirstName=check_input($_POST['FirstName']);
$LastName=check_input($_POST['LastName']);
$Email=$_POST["Email"];
$Password=$_POST["Password"];
$Company=check_input($_POST['Company']);
$Street=check_input($_POST['Street']);
$Street2=check_input($_POST['Street2']);
$City=check_input($_POST['City']);
$State=check_input($_POST['State']);
$Zip=$_POST["Zip"];
$Country=$_POST["Country"];
$Phone=$_POST["Phone"];
$Phone2=$_POST["Phone2"];
$Fax=$_POST["Fax"];
$AuthAllowed=$_POST["AuthAllowed"];
$GroupName=$_POST["GroupName"];
$StoreCredit=$_POST["StoreCredit"];

mysql_query("UPDATE vnf_customer SET  FirstName= $FirstName,LastName= $LastName, Email='$Email',Password='$Password',Company=$Company,Street=$Street,Street2=$Street2,City=$City,State=$State,Zip='$Zip',Country='$Country',Phone='$Phone',Phone2='$Phone2',Fax='$Fax',AuthAllowed='$AuthAllowed',GroupName='$GroupName' , status = '$status', StoreCredit='$StoreCredit'  WHERE CustomerNo = '$CustomerNo'");
mysql_close($con);
header('location: customer_list.php');
 

?>
